﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using dpdw.Creation.FactoryMethod;

namespace dpdw.Creation.AbstractFactory
{
    public class NYPizzaStore2 : PizzaStore
    {
        public override Pizza CreatePizza(string pizzaType)
        {
            Pizza pizza = null;

            IPizzaIngredientFactory2 ingredientFactory = new NYPizzaIngredientFactory2();

            if (pizzaType.Equals("cheese"))
            {
                //pizza = new CheesePizza(ingredientFactory);
                //pizza.Name = "New York Style Cheese Pizza";
            }
            else if (pizzaType.Equals("pepperoni"))
            {
                //pizza = new PepperoniPizza(ingredientFactory);
                //pizza.Name = "New York Style Pepperoni Pizza";
            }

            return pizza;
        }
    }
}
